type=tiny
save_dir=/cv/zjh/1autodriver/det3d/6_bev_trt/bevformer_trt/trt_plug_v2_smallconfig/profile/
ckpts_save_dir="/cv/zjh/1autodriver/det3d/6_bev_trt/bevformer_trt/checkpoints/"
model_name="bevformer_small_epoch_24_cp"
trtexec --onnx=${ckpts_save_dir}/onnx/${model_name}.onnx \
        --saveEngine=${ckpts_save_dir}/tensorrt/${model_name}.trt \
        --plugins=/cv/zjh/1autodriver/det3d/6_bev_trt/bevformer_trt/TensorRT/lib/libtensorrt_ops.so \
        --exportTimes=$save_dir/trt_time.json \
        --exportOutput=$save_dir/trt_out.json \
        --exportProfile=$save_dir/trt_Profile.json \
        --exportLayerInfo=$save_dir/trt_layerinfo.json \
        --dumpOutput \
        --dumpProfile \
        --dumpLayerInfo \
        --verbose \
        --fp16
    # --useDLACore=0 \
    # --allowGPUFallback \
    # >0726.log 2>&1
